package com.cjh.common.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cjh.common.entity.Store;
import com.cjh.common.response.Result;

import java.util.List;

/**
 *
 */
public interface StoreService extends IService<Store> {
    //系统根据用户获取门店
    Result getAllStore(String username);

    Result addStore(Store store);

    Result updateStore(Store store);

    Result deleteStoreById(Integer id);

    Result deleteStoreByIdList(List<Integer> list);

    Result getUserHaveOrBelongToStore(String username);
    //小程序获取所有门店
    Result getStore();
}
